﻿@using HotelRegistrationSystem.HtmlExtensions
<div class="twelve columns header_nav_fullwidth">
    <div class="ten columns" style="padding-top: 8px">
        <ul id="menu-header" class="nav-bar horizontal">
            <li class="active">@Html.MenuItem("Home", "Index", "Home")</li>
            <li>@Html.MenuItem("Hotels", "Index", "Hotel")</li>
            @if (User.Identity.IsAuthenticated)
            {
                //if (User.IsInRole("Administrator") || User.IsInRole("HotelOwner"))
                {
                    <li>@Html.MenuItem("My Hotels", "MyHotels", "Hotel")</li>
                }
                <li>@Html.MenuItem("My reservations", "UserReservations", "Account")</li>
            }
            <li>@Html.MenuItem("Contact", "Contact", "Home")</li>
        </ul>
    </div>
    @Html.Partial("_LoginPartial")
</div>
